<?php

// $Id: user_activity.class.php 1571 2009-01-13 13:08:33Z ogrebg $

class User_Activity extends Tangra_Class {
	private $id;
	private $user;
	private $type;
	private $ts;
	private $data;

	public function set_id($id) {
		tangra_if_not_int_throw_e($id);
		$this->id = $id;
	}


	public final function get_id() {
		return $this->id;
	}


	public function set_user($user) {
		tangra_if_not_int_throw_e($user);
		$this->user = $user;
	}


	public final function get_user() {
		return $this->user;
	}


	public function set_type($type) {
		tangra_if_not_int_throw_e($type);
		$this->type = $type;
	}


	public final function get_type() {
		return $this->type;
	}


	public function set_ts($ts) {
		$this->ts = $ts;
	}


	public final function get_ts() {
		return $this->ts;
	}


	public function set_data($data) {
		$this->data = $data;
	}


	public final function get_data() {
		return $this->data;
	}
}